#ifndef PROTOCOL_H
#define PROTOCOL_H

#include <QFile>

#include <QFileInfo>

class Protocol
{
public:
    enum Direction{
        Transmit = 0,
        Receive
    };


public:
    Protocol(){};
    ~Protocol(){};

    virtual void begin(Direction _dir, QString &_path) = 0;
    virtual void run(Direction dir) = 0;
    virtual bool over() = 0;


};


#endif // PROTOCOL_H
